@CHARSET "UTF-8";

* {
	margin: 0;
	padding: 0;
	font-family: Verdana, Geneva, sans-serif, "宋体";
	list-style: none;
}

/* 
a.hover是<a class="hover">..</a>
a:hover是伪类
.hover a是比如<div class="hover"><a>..</a></div>

<li class="hover"><a>li.hover a的样式</a></li>
<li><a class="hover">li a.hover的样式</a></li>
a:hover就是鼠标悬停的样式~ */
a:HOVER {
	text-decoration: underline;
	color: blue;
}

p {
	line-height: 24px
}

#warp {
	width: 800px;
	margin: 0 auto;
	padding: 0 10px 10px;
	border: 1px solid blue;
}

#header {
	width: 100%;
	overflow: hidden;
}

.logo {
	width: 100%;
	padding: 0 10px 10px;
	font-size: 30px;
	font-family: "微软雅黑";
	background: yellow;
	color: red;
	text-indent: 30px;
	text-align: center;
}

.nav {
	width: 100%;
	margin-top: 30px
}

.nav  li {
	margin: 0 10px;
	float: left;
	text-indent: 20px;
}

.nav li  a {
	color: red;
	font-size: 16px;
	display: block;
	padding-bottom: 2px;
}

.nav ul li a:HOVER {
	border-bottom: 3px solid black;
	text-decoration: none;
}
/* ID=menu的元素下的UL下的LI下的A元素ID=current的元素   最终指的是a元素 */
/* 下划线 类似Android滴选中效果 */
.nav li.current {
	border-bottom: 3px solid red;
}

.nav li.current a:HOVER {
	border-bottom: none;
}

#mainbody {
	width: 100%;
	margin-top: 20px;
	position: relative;
}

#sidebar {
	width: 180px;
	padding-bottom: 20px
}

#sidebar dl {
	padding: 0 0 5px;
}

#sidebar dl dt {
	font-weight: bold;
	line-height: 20px;
	font-family: "微软雅黑";
	font-size: 20px;
	color: green;
	background: orange;
	padding: 5px 0 5px 30px;
	font-weight: normal;
	margin-bottom: 10px;
}

#sidebar dl dd {
	line-height: 25px;
	padding-left: 15px;
}

#sidebar dd.current a {
	color: red;
}

#content {
	position: relative;
	top: 0;
	left: 20px
}